import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/auth/signIn',
    method: 'post',
    data
  })
}

export function getDict(token) {
  return request({
    url: '/dict/all',
    method: 'get',
  })
}

export function logout() {
  return request({
    url: '/auth/signOut',
    method: 'post'
  })
}





